import { useContext } from '/@/hooks/core/useContext';
import type { Ref } from 'vue';
export function useDesign(scope: string) {
  const values = useContext<{
    prefixCls: Ref<string>;
    isMobile: Ref<boolean>;
  }>(Symbol(''));
  return {
    prefixCls: `${values.prefixCls}-${scope}`,
    prefixVar: values.prefixCls,
  };
}
